package com.zxw.malldubbo.dao;

import model.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CategoryDao {
    List<Category> findAll();
    Category findById(Integer id);

    int save(Category category);

    int update(Category category);

    int deleteById( Integer id);
     String getname(Integer id);
     List<String> getproductname(Integer id);
}
